
export type menuNavTye = {
    name: string,
    icon: string,
    path: string,
    id: string
}

export type upsetSubType = {
    [key: string]: string | number | null
}
export type comType = {
    [key: string]: string
}

export type semicType = {
    [key: string]: string | number
}



export interface menuBaseType {
    children?: menuBaseType[],
    name: string,
    isTrue: boolean,
    id: string
}

export interface menuTopType {
    [key: string]: string | boolean | menuTopType[]
}

// 
export type upsetType = {
    table_name: string,
    params?: upsetSubType | upsetSubType[]
}

// 地震动应用接口参数
export type upsetLevelType = {
    table_name?: string,
    params: upsetSubType | upsetSubType[]
}

export interface paramsTabSubType {
    component_type?: string,
    structure_type?: string,
    function_type?: string,
    type?: string,

}

export interface paramsTabType {
    table_name: string,
    params?: paramsTabSubType | string[]
}


// 项目删除
export type delType = {
    table_name: string,
    params: {
        line_num: string | number
    }
}


// 易损性管理工程需求参数
export type fragiParamsType = {
    data_name: string,
    data_value: string
}

/// 字典表数据查询--易损性管理-工程需求参数=请求参数  菜单查询

export type workerParamsType = {
    "typeflag": string
}

export type trafficMenuType = {
    name: string,
    path: string,
    icon: string,
    id: string,
    isTrue: boolean,
    children?: trafficMenuType[]
}

///  工程系统显示
export type sysVisType = {
    name: string,
    icon: string,
    children?: string[]
}

export type gisTrafficType = {
    table_names: string[],
    "seismic_intensity"?: string,
    "standard_type"?: string,
}
// 清除数据
export type clearDataType = {
    params: { typeflag: string }
}

// 菜单流程
export interface menuProcess {

    "calcType": number
}

export interface saveMenuProcess extends menuProcess {
    "step": number
}